package com.example.eurekac;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.example.eurekac.mapper") //该路径定义了mapper接口扫描的路径
@SpringBootApplication
@EnableTransactionManagement//开启事务管理
public class ConfigClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigClientApplication.class, args);
        test test=new test();

        Thread VI=new Thread(test,"noe");
        Thread VI1=new Thread(test,"two");
         VI.start();
        VI1.start();
    }

}
